﻿using Net5ApiAndEfMySql.DtoModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VueAndNetCoreEfApi.DtoModel.SystemAdmin;
using VueAndNetCoreEfApi.PoModel.SystemAdmin;

namespace VueAndNetCoreEfApi.IRepository.SystemAdmin
{
   public interface IOwnerRepository
   {
       PagerResult<OwnerPo> GetPageList(SearchModel m);
        bool OwnerAdd(OwnerDto Owner);

        bool DelOwnerById(int ow_id);

        OwnerPo GetOwnerById(int ow_id);

        bool OwnerUpdate(OwnerPo owner);
   }
}
